package de.laures.cewolf.tooltips;

public class CommonToolTip implements ToolTip {
	private String content;
	private int width;

	public CommonToolTip(String content) {
		super();
		this.content = content;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String getToolTipString() {
		StringBuilder sb = new StringBuilder();
		sb.append("tooltip('").append(this.content).append("')");
		return sb.toString();
	}

}
